home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_400
/
428_02
/
utils
/
kbdread.c
< prev
Wrap
C/C++ Source or Header
|
1994-03-13
|
459b
|
25 lines
/*
** kbdread.c
**
** Pictor, Version 1.51, Copyright (c) 1992-94 SoftCircuits
** Redistributed by permission.
*/
#include <pictor.h>
void main()
{
int key;
printf("KBDREAD, Version 1.51, Copyright (c) 1992-94 SoftCircuits\n");
printf("Redistributed by permission.\n\n");
printf("Press key to see keyboard code (Escape quits):\n");
do {
key = kbdread();
printf("0x%04X\n",key);
} while(key != ESCAPE_KEY);
} /* main */